package com.gzhu.knowledgeAdmin.controller;


import com.gzhu.knowledgeAdmin.common.result.R;
import com.gzhu.knowledgeAdmin.service.TXtyhxxTService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 系统用户信息表
 *
 */
@RestController
@RequestMapping("/user")
public class UserController {


    @Autowired
    TXtyhxxTService tXtyhxxTService;

    @GetMapping("/staff")
    public R findStaff()
    {
        return R.ok(tXtyhxxTService.findStaff());
    }

}
